package com.felix.pattern.share;

import lombok.Data;

/**
 * ShareItme
 *
 * @author xuejinhua
 * @date 2019/1/24 10:11
 */
@Data
public abstract class AbstractShareItem {
    private int type;

    public AbstractShareItem(int type) {
        this.type = type;
    }

    public abstract void doShare(ShareListener listener);
}
